package com.cqcet.wenchuang.dto;

import com.cqcet.wenchuang.entity.OrderDetails;
import com.cqcet.wenchuang.entity.Orders;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class OrderDetailsDto extends OrderDetails {

    private Orders orders;

    //商品id
    @ApiModelProperty(value = "商品id")
    private Long goodsId;

    //商家id
    @ApiModelProperty(value = "商家id")
    private Long adminId;

    //商品名
    @ApiModelProperty(value = "商品名")
    private String name;

    //图片地址
    @ApiModelProperty(value = "图片地址")
    private String imageUrl;

    //描述
    @ApiModelProperty(value = "描述")
    private String description;

    //单价
    @ApiModelProperty(value = "价格")
    private Double price;

    //商品类型，根据分类表查询对应分类
    @ApiModelProperty(value = "分类")
    private Long categoryId;
}
